package qiyu.live.im.router.interfaces;

import org.qiyu.live.im.dto.ImMsgBody;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2023-10-12
 * Time: 20:01
 */
public interface IMRouterRpc {
    /**
     * 发送消息给IM-core-server机器
     *
     * @param imMsgBody
     */
    boolean sendMsg(ImMsgBody imMsgBody);


    /**
     * 发送批量消息给IM-core-server机器
     *
     * @param imMsgBodies
     */
    boolean batchSendMsg(List<ImMsgBody> imMsgBodies);

}